package com.chhh.cranelease.service.impl;

import com.chhh.cranelease.entity.Base;
import com.chhh.cranelease.entity.FinaceIn;
import com.chhh.cranelease.entity.FinaceOut;
import com.chhh.cranelease.mapper.FinancialManagementMapper;
import com.chhh.cranelease.service.FinancialManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FinancialManagementServiceImp implements FinancialManagementService {

    @Autowired
    private FinancialManagementMapper financialManagementMapper;

    @Override
    public List<FinaceOut> finceOut() {
        return financialManagementMapper.finceOut();
    }

    @Override
    public List<Base> selectAllBase() {
        return financialManagementMapper.selectAllBase();
    }
    // 基础项的改变
    @Override
    public Integer updateBase(Base base) {
        return financialManagementMapper.updateBase(base);
    }

    @Override
    public List<FinaceIn> finaceIn() {
        return financialManagementMapper.finaceIn();
    }
}
